package com.example.object2json;

import com.example.utils.JSONUtil;

public class Test {

	public static void main(String[] args) {
		JavaObject o = new JavaObject();
		o.setAddress("乌鲁木齐");
		o.setDevName("likai");
		o.setDevType("windows");
		
		String s = JSONUtil.objToJsonStr(o);
		System.out.println(s);
	}
}
